#include <iostream>
using namespace std;

class Complex {
	private:
		double real;
		double image;
	public:
		Complex(double r = 0, double i = 0) : real(r), image(i) {}

		Complex opposite() const {
			return Complex(-real, -image);
		}

		void Print() const {
			cout << "(" << real << "," << image << ")";
		}
		friend Complex operator+(const Complex &c1, const Complex &c2);
};

Complex operator+(const Complex &c1, const Complex &c2) {
	return Complex(c1.real + c2.real, c1.image + c2.image);
}

int main() {
	double r1, i1, r2, i2;
	cin >> r1 >> i1;
	cin >> r2 >> i2;

	Complex c1(r1, i1);
	Complex c2(r2, i2);
	Complex sum1 = c1 + c2;
	sum1.Print();
	cout << endl;
	Complex opposite_c2 = c2.opposite();
	Complex sum2 = c1 + opposite_c2;
	sum2.Print();
	cout << endl;
	c2.Print();
	cout << endl;

	return 0;
}